package com.ruimei.vo;

import java.io.Serializable;

public class Subject
  implements Serializable
{
  private static final long serialVersionUID = 1L;
  private String subjectName;
  private String id;
  
  public void setSubjectName(String subjectName)
  {
    this.subjectName = subjectName;
  }
  
  public void setId(String id)
  {
    this.id = id;
  }
  
  public boolean equals(Object o)
  {
    if (o == this) {
      return true;
    }
    if (!(o instanceof Subject)) {
      return false;
    }
    Subject other = (Subject)o;
    if (!other.canEqual(this)) {
      return false;
    }
    Object this$subjectName = getSubjectName();Object other$subjectName = other.getSubjectName();
    if (this$subjectName == null ? other$subjectName != null : !this$subjectName.equals(other$subjectName)) {
      return false;
    }
    Object this$id = getId();Object other$id = other.getId();return this$id == null ? other$id == null : this$id.equals(other$id);
  }
  
  protected boolean canEqual(Object other)
  {
    return other instanceof Subject;
  }
  
  public int hashCode()
  {
    int PRIME = 59;int result = 1;Object $subjectName = getSubjectName();result = result * 59 + ($subjectName == null ? 43 : $subjectName.hashCode());Object $id = getId();result = result * 59 + ($id == null ? 43 : $id.hashCode());return result;
  }
  
  public String toString()
  {
    return "Subject(subjectName=" + getSubjectName() + ", id=" + getId() + ")";
  }
  
  public String getSubjectName()
  {
    return this.subjectName;
  }
  
  public String getId()
  {
    return this.id;
  }
}


/* Location:              E:\360MoveData\Users\admin\Desktop\teacher_wap-0.0.1-SNAPSHOT.jar!\BOOT-INF\classes\com\ruimei\vo\Subject.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       0.7.1
 */